//
//  GetCollectionsOperation.h
//  VMIX
//
//  Created by jeffs on 5/21/10.
//  Copyright 2010 Vmix Media, INC. All rights reserved.
//

#import <Foundation/Foundation.h>

@class VmixCollection;

@protocol GetCollectionsOperationDelegate;

@interface GetCollectionsOperation : NSOperation {
	
	id <GetCollectionsOperationDelegate> delegate;
	NSMutableArray * collectionsArray;
	NSMutableData *collectionsData;
	NSString *collectionsApi;
	
}

@property(nonatomic, retain) id <GetCollectionsOperationDelegate> delegate;
@property(nonatomic, retain) NSMutableArray * collectionsArray;
@property(nonatomic, retain) NSMutableData *collectionsData;
@property(nonatomic, retain) NSString *collectionsApi;

@end

//Define protocol to communicate with object delegate after operation runs.
@protocol GetCollectionsOperationDelegate
- (void)didFinishParsingCollections:(NSMutableArray *) collectionsArray;
@end